package com.accp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 辉
 * @since 2019-12-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class TzTranscityFree extends Model<TzTranscityFree> {

    private static final long serialVersionUID=1L;

    /**
     * 指定条件包邮城市项id
     */
    @TableId(value = "transcity_free_id", type = IdType.AUTO)
    private Long transcityFreeId;

    /**
     * 指定条件包邮项id
     */
    private Long transfeeFreeId;

    /**
     * 城市id
     */
    private Long freeCityId;


    @Override
    protected Serializable pkVal() {
        return this.transcityFreeId;
    }

}
